package com.tyg.service;

import com.tyg.entity.IsVip;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 顾客表 服务类
 * </p>
 *
 * @author zhangjingnan
 * @since 2022-10-22
 */
public interface IsVipService extends IService<IsVip> {

    public IsVip selectAll(Integer workId);

    public IsVip selectByWorkId(Integer workId);

    public void insertNew(Integer workId);

    public IsVip Invest(double totalAmt, Integer workId);

    /**
     * 更新余额
     * @param totalAmt
     * @param workId
     */
    public void updateMoney(double totalAmt, Integer workId);
}
